package de.wittje.pokemonadventure.view;

import javax.swing.JFrame;
import javax.swing.JPanel;

public class Window extends JFrame {

	public Window() {
		this.setSize(638, 573);
		this.setLocationRelativeTo(null);
		this.setTitle("Pokemon - Adventure");
		this.setDefaultCloseOperation(EXIT_ON_CLOSE);

		this.setResizable(false);
		this.setVisible(true);
	}

	public void setView(JPanel view) {
		setContentPane(view);
	}

}
